//暂时没使用到，只是之前调试静态路由数据
export const firstLevelMenus = [
  { title: "工作台", icon: "&#xe602;", prop: "workspace", path: "/workspace" },
  { title: "资产中心", icon: "&#xe619;", prop: "asset", path: "/asset" },
  { title: "风险中心", icon: "&#xe657;", prop: "govern", path: "/govern/store" },
  { title: "工单中心", icon: "&#xe600;", prop: "task", path: "/task/" },
];
export const asideMenus = {
  asset: [
    {
      path: "/asset/store",
      meta: { title: "存储资产", icon: "&#xe663;" },
      children: [
        { path: "/asset/store/mysql", meta: { title: "MYSQL" } },
        { path: "/asset/store/es", meta: { title: "ES" } },
        { path: "/asset/store/gift", meta: { title: "GIFT" } },
      ],
    },
    {
      path: "/asset/api",
      meta: { title: "API资产", icon: "&#xe6a8;" },
      alwaysShow: true,
      children: [{ path: "/asset/api/api", meta: { title: "API" } }],
    },
  ],
  task: [
    {
      path: "/task",
      meta: { title: "我的治理工单", icon: "el-icon-user" },
      children: [
        {
          path: "pending",
          meta: { title: "待认领", icon: "el-icon-news" },
        },
        {
          path: "doing",
          meta: { title: "进行中", icon: "el-icon-s-finance" },
        },
        {
          path: "done",
          meta: { title: "已完成", icon: "el-icon-s-claim" },
        },
        {
          path: "approval",
          meta: { title: "我的审批工单", icon: "el-icon-s-check" },
        },
        {
          path: "notify",
          meta: { title: "我的知会工单", icon: "el-icon-phone" },
        },
      ],
    },
  ],
  govern: [
    {
      path: "/govern/store",
      meta: { title: "存储风险", icon: "&#xe63f;" },
    },
    {
      path: "/govern/api",
      meta: { title: "传输风险", icon: "el-icon-s-promotion" },
    },
  ],
};
